Skip to content

test(stackable-versioned-macros): Use trybuild to test good/bad examples#849

Merged
NickLarsenNZ merged 3 commits intomainfrom
trybuild-macros
Aug 23, 2024
Merged

test(stackable-versioned-macros): Use trybuild to test good/bad examples#849
NickLarsenNZ merged 3 commits intomainfrom
trybuild-macros

Conversation

@NickLarsenNZ
Copy link
Copy Markdown
Member

Description

Part of stackabletech/issues#507

Some of the tests were just there to ensure code compiles, but they had no assertions.
This is a good opportunity to use trybuild to make passing and failing code examples.

I have also added docs to the trybuild.rs test which gives hints for test writers who might want to enable syntax highlighting and code completion.

Definition of Done Checklist

# Reviewer
- [ ] Code contains useful comments
- [ ] (Integration-)Test cases added
- [ ] Documentation added or updated
- [ ] Changelog updated
- [ ] Cargo.toml only contains references to git tags (not specific commits or branches)
# Acceptance
- [ ] Feature Tracker has been updated
- [ ] Proper release label has been added

@NickLarsenNZ NickLarsenNZ added this pull request to the merge queue Aug 23, 2024
Merged via the queue into main with commit 68d0cb2 Aug 23, 2024
@NickLarsenNZ NickLarsenNZ deleted the trybuild-macros branch August 23, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants